<<set $r1 to random(1,6)>>
<<if visited ("start")is 4>> Sorry, you have ran out of turns.
GAME OVER
<<else>>
[[roll the die|r1]]
<</if>>
<img src=https://ibi-alawaj.neocities.org/dice-game.gif
<map name="image-map" width="50" height="50">
<area target="" alt="" title="" href="" coords="" shape="rect">
<img src=https://ibi-alawaj.neocities.org/6jk524tfr3261.gif
<map name="image-map" width="50" height="50">
<area target="" alt="" title="" href="" coords="" shape="rect">
<<set $r3 to random (1,6)>><<if $r3 is 1>> Dang! You lost your points. [[Restart?|.]] Or, stop [[here?|end]] <<else>><<set $r3 to $r2+$r3>>$r3-- Incredible! Lets see your final score|end]]
<</if>><<if $r1 is 1>> Oof, you rolled $r1
You lose! [[restart|.]] Or, stop [[here?|end]]
<<else>> $r1?
Nice! Roll [[again|r2]]?
Or, stop [[here|end]]
<</if>>
(1,6)>><<if>> $r3 is 1>>[[credits]] <<set $r2 to random(1,6)>><<if $r2 is 1>>
Oh no! you rolled a $r2! You lost all your points [restart?|start]] Or, stop [[here?|end]]
<<else>><<set $r2 to $r1+$r2>>$r2 ?!?!
Wow , you're on fire! [[roll again?|r3]],
Or, Stop [[here|end]]
<</if>><img src=https://ibi-alawaj.neocities.org/6jk524tfr3261.gif
<map name="image-map" width="150" height="150">
<area target="" alt="" title="" href="" coords="" shape="rect">
This is a prototype solo version of the game of PIG, adapted to Twine
The goal in this solo version of PIG is to accumulate high points and to avoid rolling ones over the course of three rounds, using a 6-sided die.
If you roll a 1 you lose all your points and can either:
Restart (up to 3 times)
Or you can quit
If you roll anything else you can either:
Roll again, accumulating points each round
Or you can quit with the points you have
Each of the three rounds you potentially accumulate more points, or you can quit while you're ahead. There's always the chance you will lose all your points. You have three chances to restart if you roll a 1.
[[START THE GAME]]<img src=https://ibi-alawaj.neocities.org/6jk524tfr3261.gif
<map name="image-map" width="50" height="50">
<area target="" alt="" title="" href="" coords="" shape="rect">